/**
 * 
 */
package com.ubo.graphviz.model.graph.statement.node.classNode;

import com.ubo.graphviz.model.graph.statement.Attribute;

/**
 * Représente un attribut d'une classe (au sens Objet).
 * 
 * @author saludegu
 * 
 */
public class AttributElement extends AClassElement {

	/**
	 * 
	 * Constructor
	 * 
	 */
	public AttributElement() {
	}

	/**
	 * 
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		StringBuffer res = new StringBuffer();
		for (Attribute attr : mListAttribute.getAttributes()) {
			res.append(attr.getValue() + ",");
		}
		res.deleteCharAt(res.length() - 1);
		return res.toString();
	}
}
